package com.tangyanbo.android.FileManager;

import com.tangyanbo.android.FileManager.R;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;

public class ViewManager {

	public static View getRenameView(Context context){
		return getLayoutInflater(context).inflate(R.layout.rename, null);
	}
	
	public static View getDialogView(Context context){
		return getLayoutInflater(context).inflate(R.layout.dialog, null);
	}
	
	public static View getZIPView(Context context){
		return getLayoutInflater(context).inflate(R.layout.zip_dialog, null);
	}
	
	private static LayoutInflater getLayoutInflater(Context context){
		return LayoutInflater.from(context);
	}
}
